package ru.tapublog.lib.samsungwallet.api.model;

import java.net.URL;
import java.util.Date;

public class Partner extends Element {

	private URL banner;
	private URL link;
	private Date validUntil;
	
	public Partner(String id, URL banner, URL link) {
		this(id, banner, link, null);
	}

	public Partner(String id, URL banner, URL link, Date validUntil) {
		setId(id);
		setBanner(banner);
		setLink(link);
		setValidUntil(validUntil);
	}

	public URL getBanner() {
		return this.banner;
	}

	public void setBanner(URL banner) {
		this.banner = banner;
	}

	public URL getLink() {
		return this.link;
	}

	public void setLink(URL link) {
		this.link = link;
	}

	public Date getValidUntil() {
		return validUntil;
	}

	public void setValidUntil(Date validUntil) {
		this.validUntil = validUntil;
	}

}
